package com.base.common.persistent.model;

import java.util.Date;
import java.util.List;

/**
 * 员工实体类
 *  
 * @author Kevin Colin
 * @datetime 2015年9月6日上午11:36:43
 *
 */
public class Employee {
	private List<Authority> authorities;		// 权限集合
	private Date birthday;						// 生日
	private List<Compounds> compoundsList;		// 所属小区信息列表
	private Dept dept;							// 部门
	private int id;								// 主键id
	private int jobs;							// 岗位
	private String name;						// 员工姓名
	private String phone;						// 电话号码
	private Terminal terminal;					// 关联的设备信息
	
	public List<Authority> getAuthorities() {
		return authorities;
	}
	public Date getBirthday() {
		return birthday;
	}
	/**
	 * @return the compoundsList
	 */
	public List<Compounds> getCompoundsList() {
		return compoundsList;
	}
	public Dept getDept() {
		return dept;
	}
	public int getId() {
		return id;
	}
	public int getJobs() {
		return jobs;
	}
	public String getName() {
		return name;
	}
	public String getPhone() {
		return phone;
	}
	public Terminal getTerminal() {
		return terminal;
	}
	public void setAuthorities(List<Authority> authorities) {
		this.authorities = authorities;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	/**
	 * @param compoundsList the compoundsList to set
	 */
	public void setCompoundsList(List<Compounds> compoundsList) {
		this.compoundsList = compoundsList;
	}
	public Employee setDept(Dept dept) {
		this.dept = dept;
		return this;
	}
	public Employee setId(int id) {
		this.id = id;
		return this;
	}
	public Employee setJobs(int jobs) {
		this.jobs = jobs;
		return this;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public void setTerminal(Terminal terminal) {
		this.terminal = terminal;
	}
}
